﻿@model Zatify.WebUI.Models.Account.AdminLoginViewModel
@{
    ViewBag.Title = "";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
@section StylesLinks
{
    <link href="@Url.Content("~/areas/admin/content/zatify/css/log_style.css")" rel="Stylesheet" type="text/css" />
}
@section Scripts
{
    <script type="text/javascript">

        $(document).ready(function () {

            $('#TimeZoneOffset').val(new Date().getTimezoneOffset());
        });

    </script>
}
@{Html.EnableClientValidation(false);}
@if (TempData["LogOut_Message"] != null)
{
    <p>
        @TempData["LogOut_Message"]
    </p> 
}
<div class="zatify_login_v_bg">
    <div class="login_area">
        <div class="login_title">
            <img src="@Url.Content("~/areas/admin/content/zatify/images/zatify_log_logo.png")" align="absmiddle" alt="" /></div>
        <!--start login box-->
        <div class="login_box">
            <div class="login_box_content">
                <div class="login_box_form">
                    @using (Html.BeginForm())
                    {
                        @Html.HiddenFor(m => m.TimeZoneOffset)
            
                        @Html.TextBoxFor(u => u.UserName, new { @class = "inputbox", placeholder = "Username" })
                        
                        @Html.PasswordFor(u => u.Password, new { @class = "inputbox", placeholder = "Password" })
                        
                        @Html.CheckBoxFor(u => u.RememberMe, new { @class = "checkbox_btn" })
                        <label class="lable_type" for="RememberMe">Remember me</label>
            
                        <input type="submit" class="log_blue_btn" value="Log in" />
                    }
                    <div class="forgot_password">
                        <a href="@Url.Action("PasswordRecovery")">Forgot your User ID or Password?</a></div>
                    <p>
                        @Html.ValidationSummary(false, String.Empty, new { @class = "password_recover_error" })
                    </p>
                </div>
            </div>
            <div class="clearfix">
            </div>
        </div>
        <div class="login_box_shadow">
            <img src="@Url.Content("~/areas/admin/content/zatify/images/login_box_shadow.png")" alt="" /></div>
        <!--end login box-->
    </div>
</div>
